You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="2518" ns="0" title="Main Page">
        <revisions>
          <rev user="Dan Tobias" timestamp="2019-05-22T13:27:40Z" comment="While it&#039;ll never be &quot;complete&quot;, it&#039;s more complete than before and a bit less &quot;under construction&quot;." />
          <rev user="Dan Tobias" timestamp="2014-05-06T12:38:15Z" comment="" />
          <rev user="Dan Tobias" timestamp="2014-05-06T12:37:57Z" comment="" />
          <rev user="Dan Tobias" timestamp="2014-03-08T15:05:56Z" comment="" />
          <rev user="Dan Tobias" timestamp="2014-03-08T15:05:33Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
  <query-continue>
    <revisions rvstartid="16566" />
  </query-continue>
</api>